package org.smile.homework01.kevin.Weapon;

public class Attack {    //攻击
    private static final Attack instance = new Attack();
    private Attack(){}

    public  static Attack getInstance(){
        return instance;
    }
    public void attack(){
        System.out.println("开始攻击");
    }
    public void stopAttack(){
        System.out.println("停止攻击");
    }
}
